package cn.jyc.ssm01.pojo;

import java.util.Date;

public class Bills {
    private Integer id;
    private String title;
    private Date time;
    private Integer typeId;
    private Double price;
    private String explain;

    @Override
    public String toString() {
        return "Bills{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", time=" + time +
                ", typeId=" + typeId +
                ", price=" + price +
                ", explain='" + explain + '\'' +
                '}';
    }

    public Bills() {
    }

    public Bills(String title, Date time, Integer typeId, Double price, String explain) {
        this.title = title;
        this.time = time;
        this.typeId = typeId;
        this.price = price;
        this.explain = explain;
    }

    public Bills(String title, Integer typeId, Double price, String explain) {
        this.title = title;
        this.typeId = typeId;
        this.price = price;
        this.explain = explain;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }
}
